package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    List<StorageRecord> getStorageRecordList(
            @Param("goodsName") String goodsName,
            @Param("supplierId") Integer supplierId,
            @Param("payStatus") Integer  payStatus
    );

    List<StorageRecord> getStorageRecordList1(
            @Param("goodsName") String goodsName,
            @Param("supplierId") Integer supplierId,
            @Param("payStatus") Integer  payStatus
    );
    List<StorageRecord> getStorageRecordList2(
            @Param("goodsName") String goodsName
    );
    List<StorageRecord> getStorageRecordList3(
            @Param("supplierId") Integer supplierId
    );
    /**
     * 添加
     */
    public int add(Supplier s);

    /**
     * 修改
     */
    public int update(Supplier s);

    /**
     * 删除
     */
    public int delete(int id);
}
